package com.ticket.sass.admin.dto.output.douyin;

/**
 * @author ywb
 * @date 2024-07-19 17:47
 */

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value="DouyinGoodExchangeSetting对象", description="兑换设置输入数据")
public class DouyinGoodExchangeSettingOutput implements Serializable {
    @ApiModelProperty(value = "商品ID", required = true)
    private String productId;
    
    @ApiModelProperty(value = "兑换设置列表", required = true)
    private List<ExchangeSetting> exchangeSettings;
    
    // 默认构造函数
    public DouyinGoodExchangeSettingOutput() {}
    
    @Data
    @ApiModel(value="ExchangeSetting对象", description="兑换设置详细信息")
    public static class ExchangeSetting implements Serializable {
        
        @ApiModelProperty(value = "优惠券ID", required = true)
        private Long couponId;
        
        @ApiModelProperty(value = "优惠券ID", required = true)
        private String couponName;
        
        @ApiModelProperty(value = "数量")
        private Integer number;
        
        @ApiModelProperty(value = "有效时长")
        private Integer effectiveDuration;
        
        // 默认构造函数
        public ExchangeSetting() {}
    }
}
